import { network } from '@/utils';

import { logisCenter } from '../../../../../config/Apis';

export async function queryProblemList(params: any) {
  return network.get(logisCenter.problem_typePage, { params });
}

export async function addType(params: any) {
  return network.post(logisCenter.problem_type_saveOrUpdate, { data: params });
}

export async function closeType(params: any) {
  return network.post(logisCenter.problem_type_close, { data: params });
}
